package net.lzzy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Controller
public class IndexController {


    @GetMapping("/index")
    public String index(){
        return "index";
    }
    @GetMapping("/common/(id)")
    public String common(@PathVariable("id") String id){
        return "/common/"+id;
    }
    @GetMapping("/vip/(id)")
    public String vip(@PathVariable("id")String id){
        return "/vip/"+id;
    }

}
